package com.spark.jta;


import org.springframework.jdbc.core.JdbcTemplate;

@org.springframework.stereotype.Repository
public class Repository {
    public void save(String name, JdbcTemplate primaryJdbcTemplate) {
        primaryJdbcTemplate.update("insert into test(name) values(?)", name);
    }
}
